Havish M Consulting
Customer Case Study · Sales · Productivity Analytics
NBFC (Lending) × Havish M Consulting

Know exactly who sells, and why the rest don't

The lender's sales data was fragmented and inconsistent, so nobody could say with confidence who was performing. HMC cleaned it into one dataset, segmented every salesperson by region and product, modelled what separates performers from the rest, and turned it into insights sales leaders could act on.

ClientNBFC (Lending) FunctionSales ThemeSales Productivity Analytics
Salespeople segmented (L2–L3)
0people
into 4 performance tiers
Performer share after conversion
0%
▲ from 41%: 15 potential performers converted
Model accuracy, performer vs not
0%
logistic regression beat random forest (64%)
Region × product cells diagnosed
0cells
5 regions × 4 products, red flags named

Figures from the analysis shown below; business outcomes indicative.

The Challenge

Plenty of sales data, no clear picture of who performs

The lending business sells Business Loans, Loans Against Property, K12 school finance and direct-to-consumer products across five regions. Performance lived in separate, inconsistent files, so every review started with an argument about the numbers.

Unclear performance

No structured way to tell high performers from non-performers, or how close the middle was to the line.

Data quality issues

Fragmented, unclean and inconsistent sales data across sources, with the same value spelt five ways.

No single view

No single source of truth and no visual dashboards, so decisions leaned on whoever had the latest file.

Hidden hotspots

Region-level averages hid where productivity was really failing: specific products in specific regions.

HMC Approach

Clean it, cut it, model it, show it

Built with the lender's sales leadership, from raw extracts to an insight pack they could take into regional reviews.

Select a step to see what happened.

Discover · Agree what "performer" means

Before any analysis, the business agreed one definition.

  • Performer: at or above 50% of target; a separate tier for 100%+.
  • Potential performer: close enough to the line to be converted.
  • Cuts that matter: region, designation, age category, product.

Deliverable: Performance definitions and data inventory.

Clean · One reliable dataset

Excel and Power Query, then Python for the last mile.

  • Trimmed, de-duplicated and standardised every categorical column.
  • Unified the performer label variants into one value.
  • Flagged outliers rather than silently dropping them.

Deliverable: Clean analysis dataset and data-quality log.

Analyse · Segments, trends, models

Python for segmentation, trend detection and outlier identification.

  • Region × product breakdown of performers and non-performers.
  • Hierarchical tiers with a conversion view of potential performers.
  • Random forest and logistic regression compared on the same split.

Deliverable: Insight pack and model notebook.

Adopt · Targeted interventions

Insights went straight into regional reviews.

  • Potential performers named and coached first.
  • North and LAP flagged for structural fixes.
  • West Business Loan practices documented for others to copy.

Deliverable: Intervention list by region and product.

Scale · Repeat every quarter

The same pipeline reruns on new data.

  • Cleaning rules saved as reusable functions.
  • Tiers and conversion tracked quarter on quarter.
  • Model retrained as more history builds up.

Deliverable: Reusable pipeline and dashboard template.

The Solution

From messy rows to named interventions

The original analysis first, then four working modules: clean the data, explore region × product, convert potential performers, and compare the models.

01 · The original analysis

Code, models, tiers and the regional table

Shown as delivered. Click any screen to enlarge it.

Python code cleaning categorical columns and normalising performer labels
Cleaning in Python. Region, Designation, Age category, Product and "Performer/Non Performer (50%)" are cleaned; performer label variants are normalised.
Model performance metrics for random forest and logistic regression
Model comparison. Random forest: accuracy 0.64, precision 0.62, recall 0.66, F1 0.64. Logistic regression: 0.73, 0.72, 0.72, 0.72.
Sankey of performer categories before and after conversion
Tiers and conversion. 101 performers and 147 non-performers. Before: 132 non, 15 potential, 40 performers, 61 at 100%+. After converting the 15 potential performers: performers 116 (47%).
Table of performers and non-performers by region and product with written observations
Region × product. West leads (30% of performers), North 2 lags (10%), LAP is consistently weak; observations, red flags and opportunities alongside.
02 · Cleaning lab

Watch messy records become one dataset

A sample of raw sales records with the problems the project faced. Press Clean or step through: pink cells are inconsistent, and the column-health bars on the right shrink to one value per real category.

Pipeline

    Distinct values per column

    03 · Region × product explorer

    Where performance lives, and where it doesn't

    The regional table from the analysis as a marimekko: column width is a region's headcount, block height is a product's share, colour is the performer rate. Click any block for detail; insights update with your view.

    Click a block
    Region, product, performers, non-performers and rate appear here.

    Counts from the region × product table in the analysis (L2–L3 population).

    04 · Conversion simulator

    What if we convert the potential performers?

    The tier flow from the analysis, live. Move the slider to convert potential performers into performers and watch the flow, the mix and the performer share change. Push further to see what converting some non-performers would take.

    Potential performers converted15 of 15
    Extra non-performers lifted over the line0
    Performer share
    47%
    Before conversion
    After conversion
    Non-performerPotential performerPerformerPerformer with 100%+
    05 · Model lab

    Which model tells performers apart?

    Both models were trained on the same features. Compare their scores, then move the decision threshold on either model to trade precision for recall. Test-set predictions are reconstructed to match the reported metrics.

    Reported metrics

    Logistic regressionRandom forest

    What drives the prediction (illustrative)

    Decision threshold0.50

    Confusion matrix · test set

    Impact Dashboard

    Sharper targeting, more performers

    With one clean dataset and a clear view of tiers, sales leaders focused effort where it would move people over the line.

    Performer share

    Share of the L2–L3 sales force at or above 50% of target

    Time to a trusted productivity view

    Days per review cycle

    Figures indicative; validated metrics available on request.

    Before vs After

    How sales productivity is reviewed now

    DimensionBeforeAfter
    DataFragmented files, inconsistent labelsOne clean dataset with a data-quality log
    Performance viewPerformer or not, by gut feelFour tiers, including potential performers
    Where to lookRegion averagesRegion × product hotspots named
    DriversAnecdotesModels showing what separates performers
    InterventionsSame push for everyoneTargeted at potential performers and weak cells
    ReportingStatic tablesVisual, actionable insight pack
    Tools & Tech Used

    From spreadsheet to model

    Excel first-pass cleaning Power Query consolidation and standardisation Python · pandas segmentation, trends, outliers scikit-learn random forest, logistic regression Sankey & tables visual insight pack
    Key Takeaways

    What any sales leader can borrow

    01

    Clean first, argue later

    Once every label meant one thing, reviews moved from debating numbers to deciding actions.

    02

    The middle tier is the quickest win

    Fifteen potential performers were the cheapest six points of performer share on the table.

    03

    Simple models can win

    Logistic regression beat the random forest here, and its drivers were easier for sales leaders to trust.